


<import type='css' file="css/kalendae" />
<import file="js/kalendae#standalone" />

<div id="page-wrapper">

    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <button class="btn btn-primary openRwindow" data-w-title="添加任务" data-w-target="#addwarning"><i class="fa fa-plus"></i> 添加任务</button>
                <button class="btn btn-info alldelete" data-toggle="modal" data-target="#myModal" ><i class="fa fa-trash-o"></i> 批量删除</button>
                <button class="btn btn-success allstart">开始</button>
                <button class="btn btn-danger allstop" >停止</button>
            </div>
        </div>

        <div class="row settingrow">
            <div class="col-lg-12">

                <div class="table-responsive">
                    <div class="table_page pagestatus"></div>
                    <table class="anwsertable table table-bordered table-hover table-striped">
                        <thead>
                        <tr>
                            <th><input class="allcheck" type="checkbox"></th>
                            <th>抓取状态</th>
                            <th>任务名称</th>
                            <th>采集来源</th>
                            <th>采集频率</th>
                            <th>爬虫数量</th>
                            <th>采集时间</th>
                            <th>启用/停用</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>

                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>












<div class="R_windows" id="addwarning" data-height="650">
    <div class="R_windows_head">
        <div class="R_windows_title">添加任务</div>
        <div class="R_window_close_button"><i class="fa fa-close"></i></div>
    </div>



    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="form-group task_name">
                    <label><span class="maincolor musthave">*</span>任务名称</label>
                    <input class="form-control">
                </div>
                <div class="form-group url_start">
                    <label><span class="maincolor musthave">*</span>采集来源</label>
                    <input class="form-control">
                </div>



            </div>
        </div>
        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <div class="form-group page_count">
                    <label><span class="maincolor musthave">*</span>每次采集条数</label>
                    <input class="form-control">
                </div>
            </div>
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <div class="form-group count_thread_max">
                    <label><span class="maincolor musthave">*</span>爬虫数量</label>
                    <input class="form-control">
                </div>

            </div>
        </div>


        <div class="row">
            <div class="col-lg-12">
                <div class="form-group schedule_type">
                    <label><span class="maincolor musthave">*</span>执行时间</label>
                    <select class="form-control">
                        <option value="1">立即执行</option>
                        <option value="2">计划执行</option>
                    </select>
                </div>
            </div>
        </div>



        <div class="row dataselect">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <div class="form-group dataselect">
                    <label><span class="maincolor musthave">*</span>选择日期</label>
                    <button class="form-control">日期</button>
                    <div id="dataselect"></div>
                </div>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                <div class="form-group data-hour">
                    <label>时</label>
                    <input class="form-control">
                </div>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                <div class="form-group data-minute">
                    <label>分</label>
                    <input class="form-control">
                </div>
            </div>
        </div>

        <div class="row time_interval">
            <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
                <div class="form-group time_interval_checkbox">
                    <label>是否重复</label>
                    <input type="checkbox" class="form-control" style="height: 34px; width: auto;margin-left: 20px;">
                </div>
            </div>
            <div class="col-lg-9 time_interval_input col-md-9 col-sm-9 col-xs-9">
                <div class="form-group time_interval_input time_interval_input_val">
                    <label><span class="maincolor musthave">*</span>重复执行间隔</label>
                    <input class="form-control">
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="form-group rule_match">
                    <label><span class="maincolor musthave">*</span>内容抓取规则</label>
                    <textarea class="form-control" id="rule_textarea"></textarea>
                </div>
            </div>
        </div>



        <div class="row">
            <div class="col-lg-12">
                <div class="form-group">
                    <label>立即开始：</label>
                    <span class="R_switch" data-on="开始" data-off="停止"></span>
                </div>
            </div>
        </div>



        <div class="row">
            <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
                <button class="btn btn-primary answersetting_ok">确定</button>
                <button class="ml10 btn R_window_cancel_button">取消</button>
            </div>
        </div>
    </div>
</div>
<import file="js/answersetting-js" />